package com.why.websocketmqttstudy.why.websocket.handler.impl;

import com.why.websocketmqttstudy.why.websocket.handler.WebSocketMsgHandler;
import io.netty.channel.Channel;
import org.springframework.stereotype.Component;

/**
 * @author why
 * @date 2022/11/9 13:43
 */
@Component("websocket/hello")
public class Hello implements WebSocketMsgHandler {
    @Override
    public void handle(String message, Channel channel) {
        System.out.println("hello websocket");
    }
}
